package com.turtle.security.security.constant;

/**
 * 认证授权常量配置
 *
 * @author turtle
 * @since: 2020-05-06
 */
public class SecurityConstants {

    /**
     * token前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 登录用户uuid，用来验证redis
     */
    public static final String USER_KEY = "user_key";

    /**
     * 登录用户id
     */
    public static final String USER_ID = "user_id";

    /**
     * token过期时间
     */
    public static final String TOKEN_EXPIRE_TIME = "toke_expire_time";

    /**
     * redis key
     */
    public static final String REDIS_KEY = "login_token:";
}
